# @文件:  D:/PycharmProjects/pythonProject/01_Module_C/auto_test_01\util.py
# @作者:    邱剑萍
# @创建时间:    2025/4/7 16:19
import json
import os.path

import pandas
import pytest

# 读json文件
# def read_json(filename,key):
#     current_dir = os.path.abspath(os.path.dirname(__file__))
#     filepath = os.path.join(current_dir,"data",filename)
#
#     arr = []
#     with open(filepath,"r",encoding="utf-8") as f:
#         for data in json.load(f).get(key):
#             arr.append(tuple(data.value()))
#         return arr
#
# if __name__=='__main__':
#     print(read_json("login.json","login"))

